const express = require("express")
const router = express.Router()
const authoritys_handle = require("../../router_handler/admin/authority")

router.get("/index/authoritys/getAuthoritysInfo",authoritys_handle.getAuthoritysInfo)
router.get('/index/authoritys/hasDirsInfo',authoritys_handle.hasDirs)
router.post('/index/authoritys/editAuthoritysInfo',authoritys_handle.editAuthoritys)
router.post('/index/authoritys/changeAuthority',authoritys_handle.changeAuthority)
router.post('/index/authoritys/getDirsAndMidInfo',authoritys_handle.getDirsAndMidInfo)

module.exports = router